package fulbitofacil.negocio;

import java.sql.Date;
import java.util.Collection;

import fulbitofacil.dao.ReservaCanchaDAO;
import fulbitofacil.exception.DAOExcepcion;
import fulbitofacil.modelo.ReservaCancha;

public class ReservaNegocio {
	public Collection<ReservaCancha> ListarCancha(String distrito, Date fecIni, Date fecFin, int horIni, int horFin) throws DAOExcepcion {
		ReservaCanchaDAO dao = new ReservaCanchaDAO();
		Collection<ReservaCancha> Canchas = dao.ListarCancha(distrito, fecIni, fecFin, horIni, horFin);
		return Canchas;
	}

}
